home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Sapphire Collection / Software Vault (Sapphire Collection) (Digital Impact).ISO / cdr08 / finst152.zip / RESMGR.H_ / RESMGR.H
C/C++ Source or Header  |  1994-07-30  |  525b  |  33 lines

  1. #define __RESMGR_H
  2.  
  3. #ifndef __WINDOWS_H
  4. #include "windows.h"
  5. #endif
  6.  
  7. class resinfo;
  8.  
  9. class resmgr
  10. {
  11.    int nors;
  12.  
  13.    resinfo *rs;
  14.  
  15.    int loadres(HINSTANCE inst);
  16.    int loadresinfo(char exepath[]);
  17.    void freedlg(HGLOBAL h);
  18.    HGLOBAL loaddlg(HINSTANCE inst, LPCSTR name);
  19.  
  20.    public:
  21.    resmgr()                        /* you can optionall call init() once later */
  22.    {
  23.       nors = 0;
  24.  
  25.       rs = 0;
  26.    }
  27.    resmgr(int *r, HINSTANCE inst);
  28.   ~resmgr();
  29.  
  30.    int init(HINSTANCE inst);
  31. };
  32.  
  33.